package data;

public class PersonData implements Cloneable{
	
	public enum PersonState {STANDING, SITTING};
	
	private int personId;
	private PersonState personState;
	public enum StartDirection {LEFT, RIGHT, NONE};
	private StartDirection startDirection = StartDirection.NONE;
	
	public PersonData() {
		
	}
	
	public PersonData(int personId, PersonState personState) {
		this.personId = personId;
		this.personState = personState;
	}
	
	public int getPersonId() {
		return personId;
	}
	public void setPersonId(int personId) {
		this.personId = personId;
	}
	public PersonState getPersonState() {
		return personState;
	}
	public void setPersonState(PersonState personState) {
		this.personState = personState;
	}
	
	public String toString() {
		return ((personState == PersonState.SITTING) ? "n" : "N");
	}
	
	public Object Clone() throws CloneNotSupportedException {
		return super.clone();
	}

	public void setStartDirection(StartDirection startDirection) {
		this.startDirection = startDirection;
	}

	public StartDirection getStartDirection() {
		return startDirection;
	}
}
